package ucm;
import client.Client;

/**
 * UCLogout
 *
 * Goal: Logout User from system
 * Primary Actor: User
 * Precondition: User is logged in.
 * Postcondtion: User is logged out.
 * 
 * @author Tobias Robinson
 */
public class UCLogout {

    public UCLogout() {
        run();
    }

    /**
     * 1. Actor selects Logout.
     * 2. System updates user status.
     * 3. System notifies actor they are logged out.
     */
    public static void run() {
        Client.getInstance().logout();
    }

}
